package com.dc.ftp.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

/*
 * Created by zhaiyujin on 18-4-23.
 */
public class TonicBroadcast extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Toast.makeText(context,"接受到Intent的Action"+intent.getAction()+" 接受的广播内容"+intent.getStringExtra("msg"),Toast.LENGTH_LONG).show();
    }
}
